/**
 * 
 */
package org.jenkon.validator;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Jens Konopka
 * 
 * @param <T> the type of the validation object
 */
abstract class AbstractConditionValidator<T> extends AbstractValidator<T> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4969668793917749671L;

	protected final List<Validator<T>> validators = new ArrayList<Validator<T>>();

	/**
	 * @param validator
	 *            {@link Validator}
	 */
	public void add(final Validator<T> validator) {
		validators.add(validator);
	}

}
